﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TTSModel;
using TTSIDAL;
namespace TTSBLL
{
    public class AirtightnessTek : BaseService<AirtightnessTekInfo>
    {
        private static readonly IAirtightnessTek dal = DALFactory.TTS_DataAccess.CreateAirtightnessTek();

        public override void SetCurrentRepository()
        {
            CurrentRepository = dal;
        }
        public IList<AirtightnessTekInfo> AirtightnessTekInfo_GetbyKccSN(string KccSN)
        {
            return dal.AirtightnessTekInfo_GetbyKccSN(KccSN);
        }
        public IList<AirtightnessTekInfo> AirtightnessTekInfo_GetbyDT(DateTime _startTime, DateTime _endTime)
        {
            return dal.AirtightnessTekInfo_GetbyDT( _startTime, _endTime);
        }

    }
}
